package com.zzb.framework.modules.website.service;

import com.zzb.framework.modules.param.entity.SysParam;
import com.zzb.framework.modules.param.service.SysParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zzb.framework.modules.website.vo.WebSiteContextVO;
import java.util.Map;

@Service
public class WebSiteService {
    @Autowired
    private SysParamService sysParamService;

    public WebSiteContextVO webContext(){
        Map<String, String> params = sysParamService.selectAllOvertMap();
        WebSiteContextVO webSiteContextVO = new WebSiteContextVO();
        webSiteContextVO.setParams(params);
        return webSiteContextVO;
    }
}
